Public Class frmQuanLyDanhMucChung

    Private Sub frmQuanLyDanhMucChung_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblHinhThucKT_KL' table. You can move, or remove it, as needed.
        Me.TblHinhThucKT_KLTableAdapter.Fill(Me.CSDLSVDataSet.tblHinhThucKT_KL)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblLoaiQuanHe' table. You can move, or remove it, as needed.
        Me.TblLoaiQuanHeTableAdapter.Fill(Me.CSDLSVDataSet.tblLoaiQuanHe)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblHocVi' table. You can move, or remove it, as needed.
        Me.TblHocViTableAdapter.Fill(Me.CSDLSVDataSet.tblHocVi)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblHocHam' table. You can move, or remove it, as needed.
        Me.TblHocHamTableAdapter.Fill(Me.CSDLSVDataSet.tblHocHam)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblCapQuyetDinh' table. You can move, or remove it, as needed.
        Me.TblCapQuyetDinhTableAdapter.Fill(Me.CSDLSVDataSet.tblCapQuyetDinh)
        'TODO: This line of code loads data into the 'CSDLSVDataSet.tblChinhTri' table. You can move, or remove it, as needed.
        Me.TblChinhTriTableAdapter.Fill(Me.CSDLSVDataSet.tblChinhTri)

    End Sub
#Region "Toolbar"

    Private Sub TblChinhTriBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblChinhTriBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblChinhTriBindingSource.EndEdit()
        Me.TblChinhTriTableAdapter.Update(Me.CSDLSVDataSet.tblChinhTri)

    End Sub

    Private Sub TblHocViBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblHocViBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblHocViBindingSource.EndEdit()
        Me.TblHocViTableAdapter.Update(Me.CSDLSVDataSet.tblHocVi)
    End Sub

    Private Sub TblLoaiQuanHeBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblLoaiQuanHeBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblLoaiQuanHeBindingSource.EndEdit()
        Me.TblLoaiQuanHeTableAdapter.Update(Me.CSDLSVDataSet.tblLoaiQuanHe)
    End Sub

    Private Sub TblHinhThucKT_KLBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblHinhThucKT_KLBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblHinhThucKT_KLBindingSource.EndEdit()
        Me.TblHinhThucKT_KLTableAdapter.Update(Me.CSDLSVDataSet.tblHinhThucKT_KL)
    End Sub

    Private Sub TblCapQuyetDinhBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblCapQuyetDinhBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblCapQuyetDinhBindingSource.EndEdit()
        Me.TblCapQuyetDinhTableAdapter.Update(Me.CSDLSVDataSet.tblCapQuyetDinh)
    End Sub

    Private Sub TblHocHamBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TblHocHamBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.TblHocHamBindingSource.EndEdit()
        Me.TblHocHamTableAdapter.Update(Me.CSDLSVDataSet.tblHocHam)
    End Sub

#End Region

End Class